#include "Camera.h"

C2DCamera::C2DCamera() : m_fAngle(0.f), m_fZoom(1.f), m_fDesiredAngle(0.f), m_fDesiredZoom(1.f)
{
    
    
    
}

void C2DCamera::update()
{
    
    //TODO: Replace this with mooth movement stuff
    m_vPos = m_vDesiredPos;
    m_fAngle = m_fDesiredAngle;
    m_fZoom = m_fDesiredZoom;
    
    glScalef(m_fZoom, m_fZoom, 1.f);
    glTranslatef(m_vPos[0], m_vPos[1], 0);
    glRotatef(m_fAngle, 0, 0, 1);
    
}
